|
|
@@ -100,6 +100,7 @@ describe Agents::DataOutputAgent do
|
100
|
100
|
end
|
101
|
101
|
|
102
|
102
|
it "can output RSS" do
|
|
103
|
+ stub(agent).feed_link { "https://yoursite.com" }
|
103
|
104
|
content, status, content_type = agent.receive_web_request({ 'secret' => 'secret1' }, 'get', 'text/xml')
|
104
|
105
|
status.should == 200
|
105
|
106
|
content_type.should == 'text/xml'
|
|
|
@@ -109,7 +110,7 @@ describe Agents::DataOutputAgent do
|
109
|
110
|
<channel>
|
110
|
111
|
<title>XKCD comics as a feed</title>
|
111
|
112
|
<description>This is a feed of recent XKCD comics, generated by Huginn</description>
|
112
|
|
- <link>https://localhost:3000</link>
|
|
113
|
+ <link>https://yoursite.com</link>
|
113
|
114
|
<lastBuildDate>#{Time.now.rfc2822}</lastBuildDate>
|
114
|
115
|
<pubDate>#{Time.now.rfc2822}</pubDate>
|
115
|
116
|
<ttl>60</ttl>
|